<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>userExt - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.userExtCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>UserExt - write</h1>
	
	<form:form commandName="userExtCriteria" id="userExtCriteriaForm" name="userExtCriteriaForm" action="/userExt.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="userId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="userExt" name="userExtForm" action="/userExtWrite.do">
	<input type="hidden" name="mode" value="write"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>userId</th>
			<td>
				<form:input path="userId"/>
				<form:errors path="userId" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>realname</th>
			<td>
				<form:input path="realname"/>
				<form:errors path="realname" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>gender</th>
			<td>
				<form:input path="gender"/>
				<form:errors path="gender" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>birthday</th>
			<td>
				<form:input path="birthday"/>
				<form:errors path="birthday" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>intro</th>
			<td>
				<form:input path="intro"/>
				<form:errors path="intro" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>comefrom</th>
			<td>
				<form:input path="comefrom"/>
				<form:errors path="comefrom" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>qq</th>
			<td>
				<form:input path="qq"/>
				<form:errors path="qq" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>msn</th>
			<td>
				<form:input path="msn"/>
				<form:errors path="msn" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>phone</th>
			<td>
				<form:input path="phone"/>
				<form:errors path="phone" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>mobile</th>
			<td>
				<form:input path="mobile"/>
				<form:errors path="mobile" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>userImg</th>
			<td>
				<form:input path="userImg"/>
				<form:errors path="userImg" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>userSignature</th>
			<td>
				<form:input path="userSignature"/>
				<form:errors path="userSignature" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="write"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
